﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class weixin_usermsg : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string touserName = Request.QueryString["name"];
        //string touserName = "oZSGWjhnyw5vu1Go65zYSaDrQnRs";
        string strSql = "select createTime,msgType,text_Content from MpReqMsg where fromUserName='"+touserName+"'";
        TB.BLL.MpReqMsg reqMsg = new TB.BLL.MpReqMsg();
        System.Data.DataSet ds=reqMsg.GetReqMsgDT(strSql);
        GridView1.DataSource = ds.Tables[0];
        GridView1.DataBind();
    }
}